package cate.game.role.status;

import cate.game.db.GameMongoDao;
import cate.game.role.Role;
import cate.game.role.RolePartGetter;
import org.springframework.data.mongodb.repository.MongoRepository;

public class RoleStatusGetter extends RolePartGetter<RoleStatus> {
    public RoleStatusGetter(Role role) {
        super(role);
    }

    @Override
    protected MongoRepository<RoleStatus, String> getRepo(GameMongoDao dao) {
        return dao.status;
    }
}
